ElasticPress\Stats S

Total Complexity 31
Dependencies 3
Dependents 2
Total lines 310
Lines of code 118
Logical lines of code 76
Comment lines 128
Methods 12
Properties 5

Methods 12

Method Rating Maintainability Complexity Lines of code
build_stats()
A
54 8 21
populate_indices_stats()
S
51 6 26
remote_request_helper()
S
66 3 8
populate_index_stats()
S
57 2 15
get_indices_for_site()
S
67 2 8
populate_indices_averages()
S
66 2 8
convert_to_readable_size()
S
63 2 9
factory()
S
69 2 7
get_health()
S
77 1 4
get_nodes()
S
77 1 4
get_totals()
S
77 1 4
get_localized()
S
77 1 4